package com.hhxy.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.hhxy.domain.User;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author ghp
 * @date 2023/3/9
 * @title
 * @description
 */
@Mapper
public interface MenuMapper extends BaseMapper<User> {

    /**
     * 根据用户id查询权限信息
     */
    List<String> selectPermsByUserId(@Param("id") Long id);
}
